package bancosys.tec.persist.entities.domain.inheritance;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import jmine.tec.persist.annotation.Comment;
import jmine.tec.persist.annotation.DiscriminatorComment;

/**
 * @author piercio
 */
@Entity
@DiscriminatorValue(value = "1")
@DiscriminatorComment("FILHO 1")
public class FilhoSingleTable1 extends PaiSingleTable {

    private String descricao;

    /**
     * @return o valor do campo descricao.
     */
    @Column(name = "DESCRICAO")
    @Comment(table = "PAI_SINGLE_TABLE", column = "DESCRICAO", value = "NENHUM COMENTARIO.")
    public String getDescricao() {
        return this.descricao;
    }

    /**
     * @param descricao o valor para o campo descricao.
     */
    public void setDescricao(String descricao) {
        this.descricao = descricao;
    }

}
